<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php echo $html->script(array("jquery.min.js", "jquery.form.js")); ?>
        <style>
            td  table td{
                border-right: 1px solid #cccccc;
                border-bottom: 1px solid #cccccc;
                background: #fff;
                color: #797268;
                font-size: 12px;
            }
        </style>
    </head>
    <body>
        <div id="result">
            <div class="div_header1">Account Details</div>
            <table cellspacing="0" id="mytable" style="float:left;">
                <tbody>
                    <tr>
                        <td colspan="2">
                            <table width="100%" border="0" cellspacing="0" cellpadding="3" style="float:left;" >
                                <tr >
                                    <td width="90" align="right">
                                        <b>First Name</b>
                                    </td>
                                    <td width="5">
                                    :
                                    </td>
                                    <td width="247">
                                        <?php
                                        echo $this->data['User']['first_name'];
                                        ?>
                                    </td>

                                </tr>
                                <tr>    <td width="90" class="alt" align="right">
                                        <b>Last Name</b>
                                    </td>
                                    <td width="5" class="alt">
                                    :
                                    </td>
                                    <td width="247" class="alt">
                                        <?php
                                        echo $this->data['User']['last_name'];
                                        ?>
                                    </td>
                                </tr>
                                <tr >
                                    <td width="90" align="right">
                                        <b> Street Address</b>
                                    </td>
                                    <td width="5">
                                    :
                                    </td>
                                    <td width="247" colspan="3">
                                        <?php
                                        echo $this->data['User']['address'];
                                        echo'<br/>';
                                        echo $this->data['User']['address2'];
                                        ?>
                                    </td>

                                </tr>

                                <tr >
                                    <td width="90" align="right" class="alt">
                                        <b>City</b>
                                    </td>
                                    <td width="5" class="alt">
                                    :
                                    </td>
                                    <td width="247" colspan="3" class="alt">
                                        <?php
                                        echo $this->data['City']['name'];
                                        ?>
                                    </td>

                                </tr>
                                <tr>
                                    <td width="90" align="right">
                                        <b> State</b>
                                    </td>
                                    <td width="5">
                                    :
                                    </td>
                                    <td width="247">
                                        <?php
                                        echo $this->data['State']['name'];
                                        ?>
                                    </td>

                                </tr>
                                <tr>
                                    <td width="90" align="right" class="alt">
                                        <b>Zip</b>
                                    </td>
                                    <td width="5" class="alt">
                                    :
                                    </td>
                                    <td width="247" class="alt">
                                        <?php
                                        echo $this->data['User']['zip'];
                                        ?>
                                    </td>
                                </tr>
                                <tr >
                                    <td width="90" align="right">
                                        <b>Country</b>
                                    </td>
                                    <td width="5">
                                    :
                                    </td>
                                    <td width="247" colspan="3">
                                        <?php
                                        echo $this->data['Country']['name'];
                                        ?>
                                    </td>

                                </tr>
                                <tr >
                                    <td width="90" align="right" class="alt">
                                        <b>Primary Phone</b>
                                    </td>
                                    <td width="5" class="alt">
                                    :
                                    </td>
                                    <td width="247" colspan="3" class="alt">
                                        <?php
                                        echo $this->data['User']['primary_phone'];
                                        echo'-';
                                        echo $this->data['User']['phone2'];
                                        echo'-';
                                        echo $this->data['User']['phone3'];
                                        ?>
                                    </td>

                                </tr>
                                <tr>
                                    <td width="90" align="right">
                                        <b> Email</b>
                                    </td>
                                    <td width="5">
                                    :
                                    </td>
                                    <td width="247">
                                    <?php
                                        echo $this->data['User']['email'];
                                        ?>
                                    </td>

                                </tr>

                                <tr >
                                    <td width="90" align="right" class="alt">
                                        <b>Date of Birth<b/>
                                    </td>
                                    <td width="5" class="alt">
                                    :
                                    </td>
                                    <td width="247" colspan="3" class="alt">
                                     <?php
                                        echo date('d-m-Y', strtotime($this->data['User']['dateofbirth']));
                                        ?>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </tbody></table>
        </div>
    </body>
</html>